package com.jeespring.service;

import com.jeespring.dto.BusinessDTO;
import com.jeespring.dto.ResponseDTO;
import com.jeespring.entity.Order;

import java.util.List;

/**
 * @Title: OrderService
 * @Description:
 * @Author 张朝阳
 * @Date 2020/11/29 13:56
 */
public interface OrderService {
    /**
     * 查询订单
     */
    List<Order> query(Order order);
    /**
     * 创建订单
     */
    ResponseDTO<Order> createOrder(BusinessDTO businessDTO);
}
